package com.hycas.struct;

public class DoWhileDemo01 {
    public static void main(String[] args) {
        //while是先判断，再执行；
        //do while 是先执行，后判断
        int i = 0;
        while (i<0){
            System.out.println(i);
            i++;
        }
        System.out.println("========================");
        do {
            System.out.println(i);
            i++;
        } while (i<0);

    }
}
